<?php
class ProjectViewModel extends ViewModel {
	public $viewFields = array (
	'Project' => array ('pid','pname', 'state','pno' ,'regdate'), 
	'Projectgroup' => array ('gid','source','partnername','managername','membername','prefund' => 'fund','_on' => 'Projectgroup.project_pid=Project.pid' ), 
	'Company'=>array('cid','name'=>'cname','address','classify','contact_name','contact_position','contact_email','contact_phone','intro','_on'=>'Company.project_pid=project.pid'),
	);
}
?>